package top.tangyh.lamp.care.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import static com.baomidou.mybatisplus.annotation.SqlCondition.EQUAL;
import static top.tangyh.lamp.model.constant.Condition.LIKE;
import top.tangyh.basic.base.entity.Entity;


/**
 * <p>
 * 实体类
 * 检验申请-条码打印完成数据
 * </p>
 *
 * @author zqb
 * @date 2024-08-02 16:04:08
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@TableName("b_hl7_lis_bar")
public class BHl7LisBar extends Entity<Long> {
    private static final long serialVersionUID = 1L;

    /**
     * 病人识别号
     */
    @TableField(value = "patient_ident", condition = LIKE)
    @Schema(description = "病人识别号")
    private String patientIdent;
    /**
     * 病人住院号
     */
    @TableField(value = "hospital_number", condition = LIKE)
    @Schema(description = "病人住院号")
    private String hospitalNumber;
    /**
     * 打印条码和检验报告的打印条码对应
     */
    @TableField(value = "bar_code", condition = LIKE)
    @Schema(description = "打印条码和检验报告的打印条码对应")
    private String barCode;
    /**
     * 检验单名称
     */
    @TableField(value = "lis_order_name", condition = LIKE)
    @Schema(description = "检验单名称")
    private String lisOrderName;
    /**
     * 打印时间
     */
    @TableField(value = "bar_time", condition = EQUAL)
    @Schema(description = "打印时间")
    private LocalDateTime barTime;
    /**
     * 申请单id和检验申请的申请id对应
     */
    @TableField(value = "apply_id", condition = LIKE)
    @Schema(description = "申请单id和检验申请的申请id对应")
    private String applyId;
    /**
     * 是否取消
     */
    @TableField(value = "is_cancel", condition = EQUAL)
    @Schema(description = "是否取消")
    private Integer isCancel;
    /**
     * 
     */
    @TableField(value = "report_time", condition = EQUAL)
    @Schema(description = "")
    private LocalDateTime reportTime;



}
